20. GPIO Commands > 20.8 AT^SCCNT   Configure Pulse Counter > 20.8.1 Using the Pulse Counter in Limit Counter Mode

20.8.1
This example assumes that a 1 kHz frequency is applied at the GPIO10 pin. Limit counter mode is enabled to request the time the pulse counter needs to count a specified number of pulses.
 
"^SCCNT" URC indicates the time taken to count 1000 pulses.
"^SCCNT" URC indicates the time taken to count 2000 pulses.
"^SCCNT" URC indicates the time taken to count 10000 pulses.
"^SCCNT" URC indicates the time taken to count 20000 pulses.

This example shows how to stop the Limit counter mode and close the pulse counter without waiting for the "^SCCNT" URC. Both methods have the same effect, it is up to you which one to use.